package com.ruoyi.sj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 零钱交易明细表 sj_trading_record
 * 
 * @author tyc@yanyu.com
 * @date 2018-12-04
 */
public class TradingRecord extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long id;
	/** 用户ID号 */
	private String memberId;
	/** 使用类型（红包，转账，支付） */
	private String type;
	/** 交易时间 */
	private Date createDate;
	/** 金额 */
	private String money;

	/**交易单号*/
	private String payNum;

	public String getPayNum() {
		return payNum;
	}

	public void setPayNum(String payNum) {
		this.payNum = payNum;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setMemberId(String memberId)
	{
		this.memberId = memberId;
	}

	public String getMemberId()
	{
		return memberId;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}

	public Date getCreateDate()
	{
		return createDate;
	}
	public void setMoney(String money)
	{
		this.money = money;
	}

	public String getMoney()
	{
		return money;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("type", getType())
            .append("createDate", getCreateDate())
            .append("money", getMoney())
            .toString();
    }
}
